﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <link href="../../Content/style.css" rel="stylesheet" type="text/css" />
</head>
<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
        ListView1.DataSource = ViewData.Model;
        ListView1.DataBind(); 
    }
</script>

<body style="background:#e1d1d6;">
    <iframe src="FormCategory/0" name="form_cate" frameborder="0" scrolling="no" width="650"></iframe>
    <table align="left" cellpadding="0" cellspacing="0" 
        style="width: 100%; float: left">
        <tr>
            <td>
    <asp:ListView ID="ListView1" runat="server">
        <ItemTemplate>
            <h3><%#Eval("TenTheLoai")%></h3><a href="FormCategory/<%#Eval("MaTheLoai")%>" target="form_cate">Edit</a>
                
            <p style="border-bottom:1px dotted #2e202a;"></p>       
        </ItemTemplate> 
    </asp:ListView>

            </td>
        </tr>
        <tr>
            <td>
            
            </td>
        </tr>
        
    </table>
</body>
</html>
